package pres.lnk.learn.designpattern.b_abstractfactory;

import pres.lnk.learn.designpattern.a_factory.Database;
import pres.lnk.learn.designpattern.a_factory.impl.Mysql;
import pres.lnk.learn.designpattern.a_factory.impl.Oracle;

/**
 * 数据库工厂
 *
 * @Author lnk
 * @Date 2018/1/31
 */
public interface DatabaseFactory {
    /**
     * 获取数据执行动作
     * @param action
     * @return
     */
    Action getAction(String action);
}
